package Common.Entities;

import java.io.Serializable;

/**
 * This abstract class holds most common properties and methods of CCRM catalog items
 * @author Ori Ziv
 *
 */
public abstract class CatalogItem implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String itmID;
	private String itmName;
	private String itmDescription;
	
	public CatalogItem() {
		
	}
	
	/**
	 * @param itmID - Catalog Item ID
	 * @param itmName - Catalog Item name
	 * @param itmDescription - Catalog Item Description
	 */
	public CatalogItem(String itmID, String itmName, String itmDescription) {
		super();
		this.itmID = itmID;
		this.itmName = itmName;
		this.itmDescription = itmDescription;
	}
	
	/**
	 * @param itmID - Catalog Item ID
	 * @param itmName - Catalog Item name
	 */
	public CatalogItem(String itmID, String itmName) {
		super();
		this.itmID = itmID;
		this.itmName = itmName;
		this.itmDescription = null;
	}
	
	public String getItmID() {
		return itmID;
	}
	public void setItmID(String itmID) {
		this.itmID = itmID;
	}
	public String getItmName() {
		return itmName;
	}
	public void setItmName(String itmName) {
		this.itmName = itmName;
	}
	public String getItmDescription() {
		return itmDescription;
	}
	public void setItmDescription(String itmDescription) {
		this.itmDescription = itmDescription;
	}

}
